package com.jike.shop.cloud.model.goods;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jike.shop.cloud.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("good_category")
@ApiModel(value="goods_category对象", description="商品种类")
public class GoodsCategory extends BaseModel {
    @ApiModelProperty(value = "种类名称")
    private String name;

    @ApiModelProperty(value = "父类目id")
    private Long pid;

    @ApiModelProperty(value = "类目编号")
    private String code;

    @ApiModelProperty(value = "类目级别")
    private Integer level;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
